#ifndef __LOGO_SCENE_H__
#define __LOGO_SCENE_H__

#include "cocos2d.h"
#include "cocos-ext.h"
#include "GameUtil.h"

using namespace cocos2d::extension;

class LogoScene : public cocos2d::CCLayer
{
public:
    // Here's a difference. Method 'init' in cocos2d-x returns bool, instead of returning 'id' in cocos2d-iphone
    bool init(CCScene* scene);

    // there's no 'id' in cpp, so we recommend returning the class instance pointer
    static cocos2d::CCScene* scene();
	void finished(float dt);
	void playEffect(float dt);
    // implement the "static node()" method manually

protected:
	GameUtil* d_gameUtil;
    UILayer *m_pUiLayer;
    Layout *m_pWidget;
	cocos2d::CCSize _winSize;
};

#endif // __LOGO_SCENE_H__
